package com.xx.springboot.mapper;

import com.xx.springboot.SuperMapper;
import com.xx.springboot.entity.Student;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * Created by xiaoxiunique on 2018-8-4.
 */
public interface StudentMapper extends SuperMapper<Student> {

    int deleteAll();

    @Select("select * from student")
    List<Student> selectListBySql();
}
